package com.zhongyi.http.service;

import java.util.List;

import com.zhongyi.entity.Company;
import com.zhongyi.entity.Contact;

public interface MessageService {
	
	/**
	 * 企业信息录入
	 * @param insert
	 * @param corp
	 */
	public void addCompany(String insert,Company corp);
	
//	public void editCompany(String sql,Company corp);
	
	public List getAllCompany();
	
	public void addContact(String insert,Contact contact);
	
	/**
	 * 企业数量统计
	 * @param countSQL
	 * @param corpName
	 * @return
	 */
	public int getComanyCount(String countSQL,String corpName);
	
//	public void editContact();
	
}
